package com.sinkdream.cms.controller;

import com.sinkdream.cms.redis.RedisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@CrossOrigin
@RequestMapping("redis")
public class TestController {
    @Autowired
    RedisService redisService;



    @ResponseBody
    @RequestMapping("get")
    public String redisGet(){

        return null;
    }

    @ResponseBody
    @RequestMapping("set")
    public String redisSet(){
        return null;
    }
}
